﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Net.Sz.Framework.Netty.Http
{
    /// <summary>
    /// 
    /// <para>PS:</para>
    /// <para>@author 失足程序员</para>
    /// <para>@Blog http://www.cnblogs.com/shizuchengxuyuan/</para>
    /// <para>@mail 492794628@qq.com</para>
    /// <para>@phone 13882122019</para>
    /// </summary>
    public class HttpMethod
    {
        string method = null;

        private const string Get_String = "GET";

        private const string Post_String = "POST";

        public static readonly HttpMethod GET = new HttpMethod(Get_String);

        public static readonly HttpMethod POST = new HttpMethod(Post_String);
        
        public HttpMethod(string method)
        {
            this.method = method;
        }

        public override string ToString()
        {
            return method;
        }
    }
}
